package com.feicheng.persistence.entity;

import java.io.Serializable;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.feicheng.common.config.JsonArrayTypeHandler;
import com.feicheng.common.config.JsonObjectTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cailongyang
 * @since 2025-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Amd implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 门店ID
     */
    @TableId
    private String mdid;

    /**
     * 门店名称
     */
    private String mdmc;

    /**
     * 经度
     */
    private Double jd;

    /**
     * 纬度
     */
    private Double wd;

    /**
     * 图片相册
     */
    @TableField(typeHandler = JsonArrayTypeHandler.class)
    private JSONArray imgs;

    /**
     * 封面
     */
    private String cover;

    /**
     * 店长ID
     */
    private String dzid;

    /**
     * 地址
     */
    private String address;

    /**
     * 省code
     */
    private String pcode;

    /**
     * 市code
     */
    private String scode;

    /**
     * 区code
     */
    private String qcode;

    /**
     * 营业执照照片
     */
    private String yyzz;

    /**
     * 所属公司ID
     */
    private String comid;

    /**
     * 门店押金
     */
    private Integer yj;

    /**
     * 押金预付单
     */
    private String prepayid;

    /**
     * 押金预付单支付对象
     */
    private String prepaydata;

    /**
     * 押金支付状态
     */
    private Boolean pflg;

    @TableField(typeHandler = JsonObjectTypeHandler.class)
    private JSONObject mtconfig;

    @TableField(typeHandler = JsonObjectTypeHandler.class)
    private JSONObject dyconfig;

    private Boolean flg;


}
